#ifndef NV_SOCKET_H
#define NV_SOCKET_H

#include<stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>

unsigned char is_connected();
int connect_to(const char * ip, unsigned short port);
void close_socket();
int send_data(const char * buf, unsigned int size);

#endif